package com.example.demo.entity;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Table(name = "gateway")
public class Gateway implements Serializable {

    @Id
    @Column(name = "pkid")
    private Integer pkId;

    @Column(name = "spid")
    private Integer spId;

    @Column(name = "channel_id")
    private String channelId;

    @Column(name = "ballance_type")
    private Integer ballanceType;

    @Column(name = "is_valid")
    private Integer isValid;

    public Integer getPkId() {
        return pkId;
    }

    public void setPkId(Integer pkId) {
        this.pkId = pkId;
    }

    public Integer getSpId() {
        return spId;
    }

    public void setSpId(Integer spId) {
        this.spId = spId;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public Integer getBallanceType() {
        return ballanceType;
    }

    public void setBallanceType(Integer ballanceType) {
        this.ballanceType = ballanceType;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }
}
